package top.fullj.http;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import okhttp3.logging.HttpLoggingInterceptor;

/**
 * @author bruce.wu
 * @since 2020/1/19 16:24
 */
public class HttpLogger implements HttpLoggingInterceptor.Logger {

    private static final Logger LOG = LoggerFactory.getLogger(HttpLogger.class);

    @SuppressWarnings("NullableProblems")
    @Override
    public void log(String message) {
        LOG.debug(message);
    }

}
